<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
      <div class="container">
        <div id="navbar" class="navbar-collapse collapse">
          <ul class="nav navbar-nav">
            @if(Auth::check())
                <li @if ($controllerName == 'HomeAdminController') class="active" @endif >{{ HTML::linkRoute('dtu/admin', Lang::get('admin::home.home')) }}</li>
                <li @if ($controllerName == 'HomeAdminController') class="active" @endif >{{ HTML::linkRoute('dtu/admin', Lang::get('admin::home.home')) }}</li>
                <li @if ($controllerName == 'UserController') class="active" @endif >{{ HTML::linkRoute('user', Lang::get('admin::user.user')) }}</li>
                <li @if ($controllerName == 'ProductController') class="active" @endif >{{ HTML::linkRoute('product', Lang::get('admin::product.product')) }}</li>
                <li @if ($controllerName == 'OrdersController') class="active" @endif >{{ HTML::linkRoute('orders', Lang::get('admin::orders.orders')) }}</li>
                <li @if ($controllerName == 'CategoryController') class="active" @endif >{{ HTML::linkRoute('category', Lang::get('admin::category.category')) }}</li>
                <li>{{ HTML::linkRoute('logout', 'Logout('.Auth::user()->last_name.')') }}</li>
            @else
                <li>{{ HTML::linkRoute('login', 'Login') }}</li>
            @endif
          </ul>
          <ul class="nav navbar-nav navbar-right">
            @foreach(Config::get('constants.LANGUAGES') as $key => $language)
                @if ($key != App::getLocale())
                    <li>
                    {{ HTML::decode(HTML::linkRoute('language.select',
                            HTML::image(asset('public/images/lang-'.$key.'.png'), $language, array()),
                            array('lang' => $key), array('title' => $language)
                        ))
                     }}
                    </li>
                @endif
            @endforeach
          </ul>
        </div>
    </div>
</nav>